<!--commonResult.json-->
<div>
    <div id="commonResult.json"><h1>&nbsp;</h1></div>
    <div class="page-header">
        <h4>0.返回公共信息</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>

                    <div class="col-lg-10" >
                        <label>
                            公用返回信息,返回code代码如下:
                        </label>
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">resultCode</th>
                                <th>类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>1</td>
                                <td>int</td>
                                <td>请求正常</td>
                            </tr>
                            <tr>
                                <td>-1</td>
                                <td>int</td>
                                <td>请求异常</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>resultCode</td>
                                <td>int</td>
                                <td>返回代码</td>
                            </tr>
                            <tr>
                                <td>content</td>
                                <td></td>
                                <td>返回内容</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                             <pre class="jsonCode">
                                {
                                    "resultCode": 1,
                                    "content": "ok"
                                }
                            </pre>
                        <pre class="jsonCode">
                                {
                                    "resultCode": -1,
                                    "content": "null"
                                }
                            </pre>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<!--end commonResult.json-->

<!--/api/basic.json-->
<div>
    <div id="basic.json"><h1>&nbsp;</h1></div>

    <div class="page-header">
        <h4>1.获取基础信息</h4>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <form class="form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        描述:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        获取系统基础信息
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        url:
                    </label>
                    <label class="col-lg-10 control-label" style="text-align:left">
                        /api/basic.json
                    </label>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输入参数:
                    </label>
                    <div class="col-lg-10" >
                        <label class="control-label" style="text-align: left">
                            无
                        </label>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        输出参数:
                    </label>
                    <div class="col-lg-10" >
                        <table class="table table-striped table-bordered table-condensed">
                            <tr>
                                <th style="width: 20%">参数名称</th>
                                <th style="width: 10%">类型</th>
                                <th>描述</th>
                            </tr>
                            <tr>
                                <td>quartzWebVersion</td>
                                <td>String</td>
                                <td>QuartzWeb项目版本</td>
                            </tr>
                            <tr>
                                <td>versionMajor</td>
                                <td>String</td>
                                <td>Quartz主版本</td>
                            </tr>
                            <tr>
                                <td>versionMinor</td>
                                <td>String</td>
                                <td>Quartz次版本</td>
                            </tr>
                            <tr>
                                <td>versionIteration</td>
                                <td>String</td>
                                <td>Quartz迭代版本</td>
                            </tr>
                            <tr>
                                <td>quartzVersion</td>
                                <td>String</td>
                                <td>Quartz版本</td>
                            </tr>
                            <tr>
                                <td>javaVMStartTime</td>
                                <td>String</td>
                                <td>JVM启动时间</td>
                            </tr>
                            <tr>
                                <td>javaVMName</td>
                                <td>String</td>
                                <td>JVM名称</td>
                            </tr>
                            <tr>
                                <td>javaVersion</td>
                                <td>String</td>
                                <td>JVM版本</td>
                            </tr>
                            <tr>
                                <td>javaClassPath</td>
                                <td>String</td>
                                <td>Java Class路径</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        请求示例:
                    </label>
                    <div class="col-lg-10" >
                        <pre>url/api/basic.json</pre>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">
                        返回信息:
                    </label>
                    <div class="col-lg-10" >
                                     <pre class="jsonCode">
                                        {
                                            "resultCode": 1,
                                            "content": {
                                                "quartzWebVersion": "1.1.0",
                                                "versionMajor": "2",
                                                "versionMinor": "2",
                                                "versionIteration": "1",
                                                "quartzVersion": "2.2.1",
                                                "javaVMStartTime": "2017-07-20 19:19:06",
                                                "javaVMName": "Java HotSpot(TM) 64-Bit Server VM",
                                                "javaVersion": "1.6.0_45",
                                                "javaClassPath": "/home/jdk/lib/charsets.jar"
                                            }
                                        }
                                    </pre>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
<!--end /api/basic.json-->